package cn.rokhdelar.ams.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "oss")
public class OssConfig {
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;
    private Long expireTime = 3600L; // 签名过期时间(秒)
    private Long maxSize = 104857600L; // 最大文件大小(100MB)
}